package com.blog.entity;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输评论的相关信息
 * @date 2023年5月31日
 */
public class Discuss {
	
	private int discussId;//评论id

	private String discussText;//评论信息

	private int sendId;//发送方id

	private int receiveId;//接收方id（-1为直接评论）

	private int postId;//帖子id

	private Date sendDate;//发送时间

	public int getDiscussId() {
		return discussId;
	}

	public void setDiscussId(int discussId) {
		this.discussId = discussId;
	}

	public String getDiscussText() {
		return discussText;
	}

	public void setDiscussText(String discussText) {
		this.discussText = discussText;
	}

	public int getSendId() {
		return sendId;
	}

	public void setSendId(int sendId) {
		this.sendId = sendId;
	}

	public int getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(int receiveId) {
		this.receiveId = receiveId;
	}

	public int getPostId() {
		return postId;
	}

	public void setPostId(int postId) {
		this.postId = postId;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Discuss(int discussId, String discussText, int sendId, int receiveId, int postId, Date sendDate) {
		super();
		this.discussId = discussId;
		this.discussText = discussText;
		this.sendId = sendId;
		this.receiveId = receiveId;
		this.postId = postId;
		this.sendDate = sendDate;
	}

	public Discuss() {
		super();
	}

}
